﻿using System.Collections.Generic;

namespace DistanceLearning.Models
{
    public class JsTreeModel
    {
        public string data;
        public JsTreeAttribute attr;
        public List<JsTreeModel> children;
    }

    public class JsTreeAttribute
    {
        public string id;
        public string rel;
        public bool selected;
    }

    public class JsTreeNodeType
    {
        public const string PupilClass = "pupil_class";
        public const string Pupil = "pupil";
        public const string Default = "default";
        public const string Teachers = "teachers";
        public const string Teacher = "teacher";
        public const string Parents = "parents";
        public const string Parent = "parent";
        public const string Subjects = "subjects";
        public const string Subject = "subject";
        public const string AcademicYear = "academic_year";
        public const string Quarters = "quarters";
        public const string Schedule = "schedule";
        public const string Timetable = "timetable";
        public const string TimetableDayOfWeek = "timetable_dayofweek";
        public const string UsersContainer = "users_container";
    }
}